package com.usian.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.usian.common.model.member.MemberCatalog;

import java.util.List;

/**
 * @projectName: 2210A-project1
 * @package: com.usian.service
 * @className: MemberCatalogService
 * @author: 莫洪维
 * @email: 1204315800@qq.com
 * @description: TODO
 * @date: 2023/8/25 20:39
 */
public interface MemberCatalogService extends IService<MemberCatalog> {

    /**
     * 为登录成员添加学习进度方法
    * */
    public Integer saveMemberCatalog(MemberCatalog memberCatalog);

    /**
     * 根据成员id查询学习进度方法
    * */
    public List<Long> findByMemberId(Long memberId,Long courseId);

    /**
     * 根据成员id和目录id删除学习进度方法
     */
    public Integer delCatalogId(Long memberId,Long catalogId,Long courseId);
}
